package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_union_trade_event_reward", desc = "商贸事件奖励", autoSave = true, uploadCk = true, isCross = true)
public class LogUnionTradeEventReward extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "商会id", isIndex = true)
    private String unionUid;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "路线id")
    private int routeId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "事件类型")
    private int eventType;


    public LogUnionTradeEventReward(String unionUid, long userId, int routeId, String reward, int eventType) {
        this.unionUid = unionUid;
        this.userId = userId;
        this.routeId = routeId;
        this.reward = reward;
        this.eventType = eventType;
    }

    public long getUserId() {
        return userId;
    }

}
